/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.ControlEscolar.Beans;

import java.io.Serializable;

/**
 *
 * @author Rodna Marrufo
 */
public class Major implements Serializable {
    private String ID_Major;
    private String MajorName;

    public Major(){}
    
    public Major(String majorName, String Id_major){
        this.ID_Major=Id_major;
        this.MajorName=majorName;
    }


     public String toString(){
        return "\tID_Career= "+getID_Major()+
                "\tCareerName= "+getMajorName();

    }

    /**
     * @return the ID_Major
     */
    public String getID_Major() {
        return ID_Major;
    }

    /**
     * @param ID_Major the ID_Major to set
     */
    public void setID_Major(String ID_Major) {
        this.ID_Major = ID_Major;
    }

    /**
     * @return the MajorName
     */
    public String getMajorName() {
        return MajorName;
    }

    /**
     * @param MajorName the MajorName to set
     */
    public void setMajorName(String MajorName) {
        this.MajorName = MajorName;
    }

}
